home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / comm / tcp / Amster.lha / Amster_Install / Rexx / PlayAmigaAmp.rexx < prev    next >
OS/2 REXX Batch file  |  2000-02-08  |  265b  |  19 lines

  1. /*
  2. ** Play
  3. */
  4.  
  5. playerpath = 'Apps:Sound/Players/AmigaAmp/AmigaAmp'
  6.  
  7. parse arg filename
  8. options results
  9.  
  10. if ~show('P','AMIGAAMP') then address command 'run <>nil: 'playerpath
  11.  
  12. do while ~show('P','AMIGAAMP')
  13.    call delay(50)
  14. end
  15.  
  16. address 'AMIGAAMP'
  17.  
  18. 'OPEN 'filename
  19.